home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
fn32_3.zip
/
DD.DOC
< prev
next >
Wrap
Text File
|
1993-02-07
|
2KB
|
39 lines
Usage: dd
[if=file] [of=file] [ibs=bytes] [obs=bytes] [bs=bytes] [cbs=bytes]
[skip=blocks] [seek=blocks] [count=blocks]
[conv={hex,hex+,ascii,ebcdic,ibm,block,unblock,lcase,ucase,swab,noerror,sync}]
Numbers can be followed by a multiplier:
b=512, k=1024, w=2, xm=number times m, e.g.128x32
Options:
if=FILE Read from FILE instead of stdin.
of=FILE Write to FILE instead of stdout; don't truncate FILE.
ibs=BYTES Read BYTES bytes at a time.
obs=BYTES Write BYTES bytes at a time.
bs=BYTES Override ibs and obs.
cbs=BYTES Convert BYTES bytes at a time.
skip=BLOCKS Skip BLOCKS ibs-sized blocks at start of input.
seek=BLOCKS Skip BLOCKS obs-sized blocks at start of output.
count=BLOCKS Copy only BLOCKS input blocks.
conv=CONVERSION[,CONVERSION...]
Conversions:
hex Convert FILE to printed hex. [NEW]
hex+ Convert FILE to printed hex + ascii sidebar. [NEW]
ascii Convert EBCDIC to ASCII.
ebcdic Convert ASCII to EBCDIC.
ibm Convert ASCII to alternate EBCDIC.
block Pad newline-terminated records to size of
cbs, replacing newline with trailing spaces.
unblock Replace trailing spaces in cbs-sized block with newline.
lcase Change uppercase characters to lowercase.
ucase Change lowercase characters to uppercase.
swab Swap every pair of input bytes.
Unlike the Unix dd, this works with an odd number of bytes.
noerror Continue after read errors.
sync Pad every input block to size of ibs with trailing NULs.
This PCDOS version of dd will read and write a: and b: as raw diskettes.